Skip to content

improved layout of verification modal - #950

Merged
kevinaboos merged 6 commits into
project-robius:mainfrom
jenniferhmartinezmejia-netizen:fix-issue-846
Aug 6, 2026
Merged

improved layout of verification modal#950
kevinaboos merged 6 commits into
project-robius:mainfrom
jenniferhmartinezmejia-netizen:fix-issue-846

Conversation

@jenniferhmartinezmejia-netizen

@jenniferhmartinezmejia-netizen jenniferhmartinezmejia-netizen commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Note: a PR template is required for the CodePath class I am taking. I couldn't find a template in the repo so I used the one provided in the class.

What does this PR do?

Replaces the plain text list of SAS verification emojis in the verification modal with a right-wrapping grid of cells, each displaying a large emoji glyph above its description.

Why was this PR needed?

Users reported the emojis were too small to compare against another device. The root cause was that all seven emojis were concatenated into a single ModalBody label at body-text size (11.5pt), with no per-emoji layout. Now that Makepad supports well-aligned right-wrap flow layouts, each emoji can be rendered as an independent cell at a larger size. See #846.

What are the relevant issue numbers?

Closes #846

Screenshots

image image

Does this PR meet the acceptance criteria?

Project builds and tested locally, (screenshots above). Used Claude to review code, manually reviewed each line.

@kevinaboos kevinaboos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jenniferhmartinezmejia-netizen, thanks for your contribution!

I left some comments below. While things generally look fine, I get the sense that you basically just copy-pasted Element's design decisions into Robrix. Please don't just directly copy Element; we're not trying to make an Element clone here, and I don't want to get accused of IP theft.

The only thing we need to actually change here in Robrix is the emoji layout. Nothing else -- the button order, messages shown in the modal body, text phrasing, etc doesn't need to change.

Please disclose what AI Agents or LLMs you used to generate this PR, and whether you manually reviewed each line. If not, please do so as part of your next commit.

Comment thread src/verification_modal.rs Outdated
Comment thread src/verification_modal.rs
Comment thread src/verification_modal.rs Outdated
Comment thread src/verification_modal.rs Outdated
@jenniferhmartinezmejia-netizen

Copy link
Copy Markdown
Contributor Author

Hey Kevin! Thank you for reviewing the changes closely. I will make sure to review the comments and make the changes later this week when I have time. I didn't mean to copy Element, apologies for that. I was just trying to follow the comments made by matlu on the issue. That's my bad for not double-checking if you wanted those changes or not. Have a nice rest of your day!

@kevinaboos

Copy link
Copy Markdown
Member

all good, thanks!

@kevinaboos kevinaboos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for addressing most of the issues I raised. Code is generally looking good, but I left a few more questions for new things that I noticed.

Comment thread src/verification_modal.rs Outdated
Comment thread src/verification_modal.rs
Comment thread src/verification_modal.rs Outdated
Comment thread src/verification_modal.rs Outdated
@kevinaboos kevinaboos added the waiting-on-author This issue is waiting on the original author for a response label Jul 7, 2026
@kevinaboos

Copy link
Copy Markdown
Member

hi jennifer, i went ahead and made the requested changes since it's been a while since i last heard from you, and i'd like to include this in the next release of robrix, which is coming soon. Thanks again for your original contribution!

@kevinaboos
kevinaboos merged commit 84ac551 into project-robius:main Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-author This issue is waiting on the original author for a response

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve layout of verification modal

2 participants